#include <boost/assert.hpp>
enum TAG
{
    tgLogin,
    tgLogoff,
    tgMax
};
string TAG_DESC[] = {
    "tgLogin",
};
itemplate< typename X, int Size >
int dimof( X (&)[Size] )
{
    return Size;
}
BOOST_STATIC_ASSERT(2 == tgMax);
int main(int argc, char *argv[])
{
    BOOST_ASSERT(dimof(TAG_DESC) == tgMax);
}
